package wrapper;

import org.w3c.dom.ls.LSOutput;

import javax.management.MBeanAttributeInfo;
import java.util.function.DoublePredicate;

public class IntegerDemo2 {
    public static void main(String[] args) {
        //查看int最大值与最小值
       /* int imax = Integer.MAX_VALUE;
        int imin = Integer.MIN_VALUE;
        System.out.println(imax);
        System.out.println(imin);
*/
        String line = "123";
        int d = Integer.parseInt(line);
        System.out.println(d);
        double dou = Double.parseDouble(line);
        System.out.println(dou);
    }
}